Fix xm shutdown/reboot for HVM domain of IA64
authorKeir Fraser <keir.fraser@citrix.com>
Thu, 31 Jan 2008 09:43:05 +0000 (09:43 +0000)
committerKeir Fraser <keir.fraser@citrix.com>
Thu, 31 Jan 2008 09:43:05 +0000 (09:43 +0000)
commitd113c0a940d5a6165cec5fbb059ce90ba3b128c8
treecceea8a032b70b20d5280ca1e41c45f17f1607d6
parent8013b9017de9f36b9f163d4daf2ec01d1bc0f1a3
Fix xm shutdown/reboot for HVM domain of IA64

xc.domain_destroy_hook() is called twice when we execute
xm shutdown/reboot command to an HVM domain without PV drivers.
The first calling is from shutdown() in XendDomainInfo.py.
The second calling is from destroyDomain() in XendDomainInfo.py.
The first calling is not necessary, so this patch removes it.

A discussion about this patch is as follows.
 http://lists.xensource.com/archives/html/xen-ia64-devel/2008-01/msg00232.html

Signed-off-by: Masaki Kanno <kanno.masaki@jp.fujitsu.com>
tools/python/xen/xend/XendDomainInfo.py